package com.itheima.inter;

public class Demo01 {
    public static void main(String[] args) {
       /* InterSing sing= new InterSing();
        sing.sing();*/
        InterSingImpl sing = new InterSingImpl();
        sing.sing();
        sing.dance();

    }
}
interface InterSing{
public static final int NUM=10;
    void sing();
}
interface InterDacne{
    public abstract void dance();
}
class InterSingImpl implements InterSing,InterDacne{

    @Override
    public void sing() {
        System.out.println("只因你太美");
    }

    @Override
    public void dance() {
        System.out.println("蹦他一晚上");
    }
}